package com.woody.aggregate.saas.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value="UpdateSaasShopIndustryDTO", description="修改saas店铺行业对象DTO")
public class UpdateSaasShopIndustryDTO implements Serializable {

    private static final long serialVersionUID = 741085271147282626L;

    @ApiModelProperty("id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "行业名称")
    private String name;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "状态 1=启用，0=禁用，默认1")
    private Integer state;

    @ApiModelProperty(value = "展示状态 1=展示，0=隐藏 默认1")
    private Integer showVal;

    @ApiModelProperty(value = "排序,值越小越靠前")
    private Integer sort;

}
